package com.mydesignpattern.beijing.decorator.floor;

import com.mydesignpattern.beijing.decorator.House;

public class WoodFloor implements House {
    private House house;

    public WoodFloor (House house){
        this.house = house;
    }

    @Override
    public int countPrice() {
        return 10 + house.countPrice();
    }
}
